import httpRequest from "@/axios/index.js"

/**
 * 登录
 */
export function loginReq(data){
    return httpRequest({
        url:"/login",
        method:"post",
        data:data
    })
}

/**
 * 获取验证码
 */
 export function captchaReq(){
    return httpRequest({
        url:"/captcha",
        method:"get"
    })
}